package com.demo.lcgl.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 投资理财：(InvestmentAndFinancing)表实体类
 */
@TableName("`investment_and_financing`")
@Data
@EqualsAndHashCode(callSuper = false)
public class InvestmentAndFinancing implements Serializable {

    // InvestmentAndFinancing编号
    @TableId(value = "investment_and_financing_id", type = IdType.AUTO)
    private Integer investment_and_financing_id;
    // 用户编号
    @TableField(value = "`user_number`")
    private Integer user_number;
    // 理财类别
    @TableField(value = "`financial_category`")
    private String financial_category;
    // 投资名称
    @TableField(value = "`investment_name`")
    private String investment_name;
    // 投入金额
    @TableField(value = "`investment_amount`")
    private String investment_amount;
    // 周期
    @TableField(value = "`cycle`")
    private String cycle;
    // 预计收益
    @TableField(value = "`estimated_income`")
    private String estimated_income;
    // 备注
    @TableField(value = "`remarks`")
    private String remarks;


    // 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;

}
